package com.houxiurong.service.impl;

import com.houxiurong.dao.BloggerDao;
import com.houxiurong.entity.Blogger;
import com.houxiurong.service.BloggerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("bloggerService")
public class BloggerServiceImpl implements BloggerService {

    @Autowired
    private BloggerDao bloggerDao;

    public Blogger findByUsername(String username) {
        return bloggerDao.selectByUsername(username);
    }

}
